package com.dh.spring.thread.callable;

public class ThreadCallable {
    private InternalCallableTask internalCallableTask;
    private Thread thread;

    public ThreadCallable(InternalCallableTask internalCallableTask, Thread thread) {
        this.internalCallableTask = internalCallableTask;
        this.thread = thread;
    }

    public InternalCallableTask getInternalCallableTask() {
        return internalCallableTask;
    }

    public void setInternalCallableTask(InternalCallableTask internalCallableTask) {
        this.internalCallableTask = internalCallableTask;
    }

    public Thread getThread() {
        return thread;
    }

    public void setThread(Thread thread) {
        this.thread = thread;
    }
}
